package com.blog4j.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/8/12 13:38
 **/
@TableName("t_apply_organization")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ApplyOrganizationEntity {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 组织ID
     */
    private String organizationId;

    /**
     * 申请人ID
     */
    private String applyUserId;

    /**
     * 申请人角色
     */
    private String applyRole;

    /**
     * 审批人ID
     */
    private String approveUserId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 是否已被删除
     */
    @TableLogic
    private Integer deleted;
}
